import axios from '../utils/request'


// 分级医生/综合列表
export const doctorlistdoctor = (page: number, size: number) => axios.get('/doctor/list_doctor', { params: { page, size } })

// 分级医生/修改个人信息
export const doctoreditdoctor = (data: object) => axios.post('/doctor/edit_doctor', data)

// 分级医生/排班管理
export const doctorgetdndayline = (id: number) => axios.get('​/doctor​/get_dn_dayline', { params: { id } })

//分级医生/搜索
export const doctorsearchdoctor = (page: number, size: number) => axios.get('/doctor/search_doctor', { params: { page, size } })

// export const userscheckLoginReq = (account: string, password: string) => axios.post('/users/checkLogin', { account, password })

// export const goodSCateListReq = (currentPage: number, pageSize: number) => axios.get('/goods/catelist', { params: { currentPage, pageSize } })

// export const goodsdelcate = (id: number) => axios.get('/goods/delcate', { params: { id } })

// export const goodseditcate = (data: object) => axios.post('/goods/editcate', data)

// // 添加分类
// export const goodsaddReq = (data: object) => axios.post('/goods/add', data)

// export const goodsdel = (id: number) => axios.get('/goods/del', { params: { id } })

// export const orderlist = (pageInfo: object) => axios.get('/order/list', { params: { pageInfo }})
// //上传图片
// export const goodsgoodsimgupload = (file: any) => axios.post('/goods/goods_img_upload', file)

// export const shopinfo = (form: object) => axios.get('/shop/info', { params: { form } })